package com.challenge.smsweb.admin;

import com.challenge.smsbase.Controller.GenericController;
import com.challenge.smsdao.admin.domain.Role;
import com.challenge.smsservice.admin.service.RoleManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * lcc
 */
@RestController
@RequestMapping(value = "role")
public class RoleController extends GenericController<Role,Long, RoleManager> {
    RoleManager roleManager;

    /**
     * setRoleManager
     * @param roleManager
     */
    @Autowired
    public void setRoleManager(RoleManager roleManager){
        this.roleManager = roleManager;
        this.manager = roleManager;
    }


}
